package org.jeecg.modules.villageCadreAssist.mapper;

import java.util.List;
import org.jeecg.modules.villageCadreAssist.entity.VcaFileItem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.villageCadreAssist.entity.VcaFileTemplate;

/**
 * @Description: vca_file_item
 * @Author: jeecg-boot
 * @Date:   2022-02-23
 * @Version: V1.0
 */
public interface VcaFileItemMapper extends BaseMapper<VcaFileItem> {

	public boolean deleteByMainId(@Param("mainId") Integer mainId);

	public List<VcaFileItem> selectByMainId(@Param("mainId") Integer mainId);

    List<VcaFileItem> selectByTemplate(VcaFileTemplate template);
}
